//
//  MonsterConfig.cpp
//  FruitCrush
//
//  Created by gaoyu on 15/7/26.
//
//

#include "MapConfig.h"


Point MapConfig::getMapPosition(int type)
{
    switch (type) {
        case MapLevelType1: return Point(30,86);
        case MapLevelType2: return Point(75,65);
        case MapLevelType3: return Point(120,57);
        case MapLevelType4: return Point(165,57);
        case MapLevelType5: return Point(210,60);
        case MapLevelType6: return Point(253,76);
        case MapLevelType7: return Point(276,110);
        case MapLevelType8: return Point(278,150);
        case MapLevelType9: return Point(252,182);
        case MapLevelType10: return Point(210,190);
        case MapLevelType11: return Point(165,184);
        case MapLevelType12: return Point(121,170);
        case MapLevelType13: return Point(73,160);
        case MapLevelType14: return Point(36,180);
        case MapLevelType15: return Point(32,215);
        case MapLevelType16: return Point(40,250);
        case MapLevelType17: return Point(77,265);
        case MapLevelType18: return Point(123,271);
        case MapLevelType19: return Point(166,277);
        case MapLevelType20: return Point(210,285);
        case MapLevelType21: return Point(245,305);
        case MapLevelType22: return Point(268,330);
        case MapLevelType23: return Point(274,360);
        case MapLevelType24: return Point(269,390);
        case MapLevelType25: return Point(240,406);
        case MapLevelType26: return Point(205,415);
        case MapLevelType27: return Point(165,420);
        case MapLevelType28: return Point(125,420);
        case MapLevelType29: return Point(85,415);
        case MapLevelType30: return Point(45,417);
        case MapLevelType31: return Point(35,445);
        case MapLevelType32: return Point(30,475);
        case MapLevelType33: return Point(49,500);
        case MapLevelType34: return Point(90,510);
        case MapLevelType35: return Point(130,515);
        case MapLevelType36: return Point(170,520);
        case MapLevelType37: return Point(205,530);
        case MapLevelType38: return Point(230,550);
        case MapLevelType39: return Point(240,608);
        case MapLevelType40: return Point(190,610);
        case MapLevelType41: return Point(140,610);
        case MapLevelType42: return Point(90,610);
        case MapLevelType43: return Point(41,630);
        case MapLevelType44: return Point(29,675);
        case MapLevelType45: return Point(50,715);
        case MapLevelType46: return Point(100,705);
        case MapLevelType47: return Point(150,685);
        case MapLevelType48: return Point(200,673);
        case MapLevelType49: return Point(253,690);
        case MapLevelType50: return Point(266,740);
        case MapLevelType51: return Point(264,790);
        case MapLevelType52: return Point(210,800);
        case MapLevelType53: return Point(160,780);
        case MapLevelType54: return Point(110,774);
        case MapLevelType55: return Point(58,769);
        case MapLevelType56: return Point(38,810);
        case MapLevelType57: return Point(65,853);
        case MapLevelType58: return Point(115,855);
        case MapLevelType59: return Point(165,855);
        case MapLevelType60: return Point(215,880);
        case MapLevelType61: return Point(262,915);
        case MapLevelType62: return Point(265,960);
        case MapLevelType63: return Point(215,960);
        case MapLevelType64: return Point(165,922);
        case MapLevelType65: return Point(115,920);
        case MapLevelType66: return Point(65,920);
        case MapLevelType67: return Point(38,970);
        case MapLevelType68: return Point(40,1020);
        case MapLevelType69: return Point(44,1055);
        case MapLevelType70: return Point(46,1095);


    }
    return Point(0,0);
}

Point MapConfig::getMapExtendPosition(int type)
{
	switch (type) {
		case MapExtendLevelType1: return Point(87,1040);
		case MapExtendLevelType2: return Point(108,1070);
		case MapExtendLevelType3: return Point(140,1087);
		case MapExtendLevelType4: return Point(180,1097);
		case MapExtendLevelType5: return Point(220,1098);
		case MapExtendLevelType6: return Point(250,1085);
		case MapExtendLevelType7: return Point(260,1060);
		case MapExtendLevelType8: return Point(249,1030);
		case MapExtendLevelType9: return Point(220,1011);
		case MapExtendLevelType10: return Point(180,1014);
	}
	return Point(0,0);
}
